package cc.admin.modules.sys.entity;

import cc.admin.common.sys.vo.TenantModel;
import cc.admin.poi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 编码规则
 * @Author: cc-admin
 * @Date: 2022-04-18
 * @Version: V1.0.0
 */
@Data
@TableName("sys_code_rule")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "sys_code_rule对象", description = "编码规则")
public class SysCodeRule extends TenantModel {

	/**
	 * 表单编号
	 */
	@Excel(name = "表单编号", width = 15)
	@ApiModelProperty(value = "表单编号")
	private String id;
	/**
	 * 字段
	 */
	@Excel(name = "字段", width = 15)
	@ApiModelProperty(value = "字段")
	private String field;
	/**
	 * 日期
	 */
	@Excel(name = "日期", width = 15)
	@ApiModelProperty(value = "日期")
	private String serialDate;
	/**
	 * 顺序号
	 */
	@Excel(name = "顺序号", width = 15)
	@ApiModelProperty(value = "顺序号")
	private Long serialNumber;
	/**
	 * 所属部门
	 */
	@Excel(name = "所属部门", width = 15)
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
}
